package com.mustachio.urlshortener
{
	import mx.controls.TextArea;
	import mx.controls.textClasses.TextRange;
	
	public class LinkHighlighter
	{
		private var tr:TextRange;
		private var shortURLLength:uint = 19;
		public function LinkHighlighter()
		{
			
		}
		
		public function highlightText (incomingTextArea:TextArea, startIndex:uint, endingIndex:uint ):void{
			tr = new TextRange(incomingTextArea, false, startIndex, endingIndex);
			tr.color = "#666666";
			tr.textDecoration = "underline";
		}

	}
}